package com.mc.read.dao.mapper;

import com.mc.read.dao.models.Useropinion;
import com.mc.read.dao.models.UseropinionExample;
import com.mc.read.dao.vo.PageVo;
import com.mc.read.dao.vo.StatusPageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UseropinionMapper {
    int countByExample(UseropinionExample example);

    int deleteByExample(UseropinionExample example);

    int deleteByPrimaryKey(Integer useropinionid);

    int insert(Useropinion record);

    int insertSelective(Useropinion record);

    List<Useropinion> selectByExampleWithBLOBs(UseropinionExample example);

    List<Useropinion> selectByExample(UseropinionExample example);

    Useropinion selectByPrimaryKey(Integer useropinionid);

    int updateByExampleSelective(@Param("record") Useropinion record, @Param("example") UseropinionExample example);

    int updateByExampleWithBLOBs(@Param("record") Useropinion record, @Param("example") UseropinionExample example);

    int updateByExample(@Param("record") Useropinion record, @Param("example") UseropinionExample example);

    int updateByPrimaryKeySelective(Useropinion record);

    int updateByPrimaryKeyWithBLOBs(Useropinion record);

    int updateByPrimaryKey(Useropinion record);


    List<Useropinion> selectUserOpinionList(PageVo pageVo);

    /**
    * @Author:LiuHao
    * @Date:15:24 2019/5/31
    * 查询意见反馈列表 selectOpinionList
    **/
    List<Useropinion> selectOpinionList(StatusPageVo pageVo);

}